package com.erp.erp_dao.ProductPriceRange;

import com.erp.erp_entitys.ProductPriceRange.ProductPriceRange;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ProductPriceRangeDao {
    int deleteByPrimaryKey(Integer id);

    int insert(ProductPriceRange record);

    int insertSelective(ProductPriceRange record);

    ProductPriceRange selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(ProductPriceRange record);

    int updateByPrimaryKey(ProductPriceRange record);

    List<ProductPriceRange> findPriceRangeByParam(@Param("productCode") String productCode,
                                                  @Param("specificationCode") String specificationCode);
    int deleteByIds(@Param("ids") List<Integer> ids);

    int deleteByParam(ProductPriceRange record);
}